﻿<Window x:Class="TridentProvenanceTray.AboutBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
    Title="About Trident Provenance" Width="500" Height="300" WindowState="Normal" 
        WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" 
        Background="Transparent" Icon="/TridentProvenanceTray;component/provenanceIcon.ico" AutomationProperties.AutomationId="AIdAboutWindowprovenance" AllowsTransparency="True" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" ShowInTaskbar="False">

    <Grid x:Name="LayoutRoot">
        <Grid Background="{x:Null}" HorizontalAlignment="Left" VerticalAlignment="Top">
            <Grid.RowDefinitions>
                <RowDefinition Height="90"/>
                <RowDefinition Height="180"/>
                <RowDefinition Height="30"/>
            </Grid.RowDefinitions>
            <Border CornerRadius="7,7,0,0">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.86,0.5" StartPoint="0.338,0.5">
                        <GradientStop Color="#FF0085BD" Offset="0"/>
                        <GradientStop Color="#FF1999CA" Offset="1"/>
                        <GradientStop Color="#FF6DCEF2" Offset="0.772"/>
                    </LinearGradientBrush>
                </Border.Background>
                <Grid Background="{x:Null}" Width="500" Height="90">
                    <Path Fill="#33FFFFFF" Stretch="Fill" Stroke="#FF000000" StrokeThickness="0" HorizontalAlignment="Right" Margin="0,42.759,-0.722,16.285" Width="43.546" RenderTransformOrigin="0.5,0.5" Data="M0.5,7.001 C0.5,3.4105968 3.4105968,0.5 7.001,0.5 L84.303,0.5 C87.893403,0.5 90.804,3.4105968 90.804,7.001 L90.899001,32.196912 C90.899001,35.787315 87.893403,39.9038 84.303,39.9038 L7.001,45.48 C3.4105968,45.48 0.5,42.569403 0.5,38.979 z">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="1" ScaleY="1"/>
                                <SkewTransform AngleX="0" AngleY="6.117"/>
                                <RotateTransform Angle="0"/>
                                <TranslateTransform X="0" Y="0.0050905405498014034"/>
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>
                    <Path Fill="#26FFFFFF" Stretch="Fill" Stroke="#FF000000" StrokeThickness="0" HorizontalAlignment="Right" Margin="0,14.041,12.278,25.88" Width="99.546" RenderTransformOrigin="0.5,0.5" Data="M0.5,7.001 C0.5,3.4105968 3.4105968,0.5 7.001,0.5 L84.303,0.5 C87.893403,0.5 90.804,3.4105968 90.804,7.001 L90.899001,32.196912 C90.899001,35.787315 87.893403,39.9038 84.303,39.9038 L7.001,45.48 C3.4105968,45.48 0.5,42.569403 0.5,38.979 z" d:LayoutOverrides="Width">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="1" ScaleY="1"/>
                                <SkewTransform AngleX="0" AngleY="6.117"/>
                                <RotateTransform Angle="0"/>
                                <TranslateTransform X="0" Y="0.0050905405498014034"/>
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>
                    <Path Fill="#33FFFFFF" Stretch="Fill" Stroke="#FF000000" StrokeThickness="0" HorizontalAlignment="Right" Margin="0,7.506,-16.721,43.145" Width="78.216" RenderTransformOrigin="0.5,0.5" Data="M0.5,7.001 C0.5,3.4105968 3.4105968,0.5 7.001,0.5 L84.303,0.5 C87.893403,0.5 90.804,3.4105968 90.804,7.001 L90.899001,32.196912 C90.899001,35.787315 87.893403,39.9038 84.303,39.9038 L7.001,45.48 C3.4105968,45.48 0.5,42.569403 0.5,38.979 z">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="1" ScaleY="1"/>
                                <SkewTransform AngleX="0" AngleY="6.117"/>
                                <RotateTransform Angle="0"/>
                                <TranslateTransform X="0" Y="0.0050905405498014034"/>
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>
                    <Path Fill="#33FFFFFF" Stretch="Fill" Stroke="#FF000000" StrokeThickness="0" HorizontalAlignment="Right" Margin="0,0,80.278,10.285" Width="43.546" RenderTransformOrigin="0.5,0.5" Data="M0.5,7.001 C0.5,3.4105968 3.4105968,0.5 7.001,0.5 L84.303,0.5 C87.893403,0.5 90.804,3.4105968 90.804,7.001 L90.899001,32.196912 C90.899001,35.787315 87.893403,39.9038 84.303,39.9038 L7.001,45.48 C3.4105968,45.48 0.5,42.569403 0.5,38.979 z" VerticalAlignment="Bottom" Height="29.956">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="1" ScaleY="1"/>
                                <SkewTransform AngleX="0" AngleY="6.117"/>
                                <RotateTransform Angle="0"/>
                                <TranslateTransform X="0" Y="0.0050905405498014034"/>
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>
                </Grid>
            </Border>
            <Grid HorizontalAlignment="Stretch" Grid.Row="1" Grid.RowSpan="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="20"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="35"/>
                </Grid.RowDefinitions>
                <Grid.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFFFFFFF" Offset="0"/>
                        <GradientStop Color="#FFCEDAE0" Offset="1"/>
                    </LinearGradientBrush>
                </Grid.Background>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="144"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Grid.Row="1" Margin="10,0,15,0" Grid.Column="1" Grid.ColumnSpan="1" Grid.RowSpan="2">
                    <TextBlock Text="Service used for the storage of workflow execution data" TextWrapping="Wrap"/>
					<TextBlock AutomationProperties.AutomationId="AIdVersionNumber" x:Name="tbkVersion" Text="Version 1.2.1" TextWrapping="Wrap" Width="Auto" Height="Auto" Margin="0,5,0,0"/>
					<TextBlock Text="© 2009 Microsoft Corporation" TextWrapping="Wrap" Width="Auto" Height="Auto" Margin="0,5,0,0"/>
				</StackPanel>
                <Border VerticalAlignment="Stretch" BorderBrush="#7FFFFFFF" BorderThickness="0,1,0,1" Grid.RowSpan="3">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FFD7F2FF" Offset="0"/>
                            <GradientStop Color="#FFE9F7FF" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                    <Grid>
                        <Rectangle Fill="{x:Null}" HorizontalAlignment="Left" Margin="19.174,21.08,0,0" VerticalAlignment="Top" Width="37.561" Height="36.06" Stroke="#330588BF" StrokeThickness="1" RadiusX="3.3" RadiusY="3.3"/>
                        <Rectangle HorizontalAlignment="Left" Margin="4.883,11.883,0,0" VerticalAlignment="Top" Width="30.456" Height="23.794" Stroke="#330588BF" StrokeThickness="1" RadiusX="3.3" RadiusY="3.3">
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFC6E9F6" Offset="0"/>
                                    <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Rectangle HorizontalAlignment="Left" Margin="4.883,45.947,0,0" VerticalAlignment="Top" Width="30.456" Height="23.794" Stroke="#330588BF" StrokeThickness="1" RadiusX="3.3" RadiusY="3.3">
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFCBECF8" Offset="0"/>
                                    <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Rectangle Margin="41.666,27.709,71.878,0" VerticalAlignment="Top" Height="23.794" Stroke="#330588BF" StrokeThickness="1" RadiusX="3.3" RadiusY="3.3">
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFC2E8F7" Offset="0"/>
                                    <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Rectangle Fill="#FFFFFFFF" Stroke="#FF76A8AE" StrokeThickness="6" RadiusX="0" RadiusY="0" Margin="55.201,58.14,32.859,38.475" Opacity="0.3"/>
                        <Rectangle Fill="#FFFFFFFF" Stroke="#FF76A8AE" StrokeThickness="6" RadiusX="0" RadiusY="0" Margin="42.666,70.618,45.393,25.997" Opacity="0.3"/>
                        <Rectangle Stroke="{x:Null}" StrokeThickness="1" RadiusX="0" RadiusY="0" Margin="66.122,87,58.878,72" Fill="#FFC8E8F4"/>
                        <Rectangle Fill="#FFC8E8F4" Stroke="{x:Null}" StrokeThickness="1" RadiusX="0" RadiusY="0" Margin="66.122,0,58.878,49" VerticalAlignment="Bottom" Height="19"/>
                        <Rectangle Fill="#FFC8E8F4" Stroke="{x:Null}" StrokeThickness="1" RadiusX="0" RadiusY="0" Margin="0,77,9,82" HorizontalAlignment="Right" Width="19"/>
                        <Rectangle Fill="#FFC8E8F4" Stroke="{x:Null}" StrokeThickness="1" RadiusX="0" RadiusY="0" Margin="0,0,9,59" VerticalAlignment="Bottom" Height="19" HorizontalAlignment="Right" Width="19"/>
                    </Grid>
                </Border>
                <Rectangle Stroke="{x:Null}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Grid.Row="0" Grid.ColumnSpan="2">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,0.526" StartPoint="0.5,0">
                            <GradientStop Color="#99BCCCD3" Offset="0"/>
                            <GradientStop Color="#00FFFFFF" Offset="1"/>
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Border Padding="0,0,0,0" BorderThickness="0,1,0,0" BorderBrush="#FFBACAD2" d:LayoutOverrides="Height" Grid.ColumnSpan="1" Grid.Row="2" Grid.Column="1" VerticalAlignment="Top">
                    <Button Content="Ok" Width="80" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,6,10,0" IsCancel="True" IsDefault="True" Name="btnOK" AutomationProperties.AutomationId="AIdbtnOK"/>
                </Border>
            </Grid>
            <Grid HorizontalAlignment="Stretch" Margin="10,20,0,0" VerticalAlignment="Top" d:LayoutOverrides="Width, Height">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="67"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="100"/>
                </Grid.ColumnDefinitions>
                <Image Margin="0,0,0,0" Source="/TridentProvenanceTray;component/provenance64.png" Stretch="Uniform" Width="64" Height="64" HorizontalAlignment="Center" VerticalAlignment="Center" StretchDirection="Both" RenderOptions.BitmapScalingMode="NearestNeighbor"/>
                <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="1">
                    <TextBlock FontSize="12" FontWeight="Normal" Foreground="#FFFFFFFF" Text="Microsoft" TextWrapping="Wrap" Opacity="0.6" d:LayoutOverrides="Width" HorizontalAlignment="Left" Margin="0,0,0,-8" VerticalAlignment="Center"/>
					<StackPanel Orientation="Horizontal">
						<TextBlock Opacity="0.9" FontSize="25" FontWeight="Normal" Foreground="#FFFFFFFF" TextWrapping="Wrap" d:LayoutOverrides="Width, Height"><Run Text="Trident Provenance"/><LineBreak/><Run Text=""/></TextBlock>
						<TextBlock FontSize="25" FontWeight="Normal" Foreground="#FFFFFFFF" Text="" TextWrapping="Wrap" Opacity="0.5" d:LayoutOverrides="Width, Height" Margin="5,0,0,0"/>
					</StackPanel>
				</StackPanel>
            </Grid>
            <Border Opacity="1" Grid.Row="2" CornerRadius="0,0,7,7">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.86,0.5" StartPoint="0.338,0.5">
                        <GradientStop Color="#FF4FA8CC" Offset="0"/>
                        <GradientStop Color="#FF32B7EA" Offset="1"/>
                        <GradientStop Color="#FFA3DEF4" Offset="0.772"/>
                    </LinearGradientBrush>
                </Border.Background>
                <Image Width="16" Height="16" Source="/TridentProvenanceTray;component/logoSmall.png" Stretch="None" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0"/>
            </Border>
        </Grid>
    </Grid>
</Window>
